home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / mint104s.zoo / mint.src / asmtrans.h < prev    next >
C/C++ Source or Header  |  1993-03-08  |  2KB  |  66 lines

  1. #include <string.h>
  2. #include <stdio.h>
  3.  
  4. #define LINSIZ 128
  5.  
  6. #ifdef __STDC__
  7. #define P_(x) x
  8. #else
  9. #define P_(x) ()
  10. #define const
  11. #endif
  12.  
  13. /* are we compiling on an Atari? */
  14. #if defined(atarist) || defined(ATARI)
  15. #define NATIVEATARI 1
  16. #endif
  17.  
  18. #if defined(__STDC__) && !defined(NO_STDLIB)
  19. # include <stdlib.h>
  20. #else
  21. #define size_t int
  22. extern char *malloc();
  23. #endif
  24.  
  25. #define GAS 0
  26. #define ASM 1
  27. #define PUREC 2
  28. extern int syntax;
  29.  
  30. /* this variable should always be 0
  31.  * at the end of translation */
  32. extern int ifstkptr;
  33.  
  34. char *concat P_((char *, char *));
  35. char *concat3 P_((char *, char *, char *));
  36. char *concat4 P_((char *, char *, char *, char *));
  37. char *concat5 P_((char *,char *, char *, char *, char *));
  38. char *concat6 P_((char *,char *,char *, char *, char *, char *));
  39. void do_define P_((char *, char *));
  40. void do_ifdef P_((char *));
  41. void do_ifndef P_((char *));
  42. void do_else P_((void));
  43. void do_endif P_((void));
  44. void do_include P_((char *));
  45. void do_initial_defs P_((void));
  46. void yyerror P_((char *));
  47.  
  48. char *wordlookup P_((char *));
  49. char *changesiz P_((char *));
  50. char *fixupword P_((char *));
  51. void emit P_((char *));
  52.  
  53. char *immediate P_((char *));
  54. char *indirect P_((char *));
  55. char *postinc P_((char *));
  56. char *predec P_((char *));
  57. char *indexed P_((char *, char *));
  58. char *sizedop P_((char *, char *));
  59. char *twoindex P_((char *, char *, char *));
  60. char *bitfield  P_((char *, char *, char *));
  61. char *do_ops P_((char *, char *, char *, char *));
  62. char *hexop P_((char *));
  63.  
  64. extern FILE *infile, *outfile;
  65. extern int hidecnt;
  66.